﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SitePagePopUp.Master" AutoEventWireup="true" CodeBehind="HistoryTransDetails.aspx.cs" Inherits="TranTekBE.NhaThuoc.DetailsHistoryTrans" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/Styles.css" rel="stylesheet" />
    <link href="../../Maintenance/css/bootstrap.css" rel="stylesheet" />
    <link href="../../Maintenance/css/custom.css" rel="stylesheet" />
    <link href="../../Maintenance/css/whmcs.css" rel="stylesheet" />
    <script src="../../Maintenance/js/whmcs.js"></script>
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyPopupContent" runat="server">
     <asp:UpdatePanel ID="UpdatePanel" runat="server"  >
        <ContentTemplate>
            <div style="position: absolute;padding-left:20px;padding-top:30px">
                
                <table style="width:98%">
                    <tr>
                        <td colspan="5">
                                Số Bill : <asp:Label runat="server" ID="lbMaBill" Font-Bold="true"></asp:Label>
                            

                        </td>
                    </tr>
                    <tr>
                        <td class="tdLeftT">
                            <table style="width:100%" class="tblGrid" >
                                <tr>
                                    <th class="thGrid" style="width:5%;">No. </th>
                                    <th class="thGrid" style="width:20%;">Mã SP</th>
                                    <th class="thGrid" style="width:30%;">Tên SP</th>
                                    <th class="thGrid" style="width:15%;">ĐVT</th>
                                    <th class="thGrid" style="width:10%;">Số lượng</th>
                                    <th class="thGrid" style="width:25%;">Đơn giá</th>
                                    <th class="thGrid" style="width:10%;">Chiết khấu %</th>
                                    <th class="thGrid" style="width:25%;">Thành tiền</th>
                                
                                </tr>
                                <%--<tr>
                                    <td class="tdGrid tdCenterM">
                                        <table class="centerObject">
                                            <tr>
                                                <td><asp:ImageButton ID="btnClearSearch" runat="server" ImageUrl="/images/ico_clear_search.gif" 
                                            ToolTip="Clear Search" onclick="btnClearSearch_Click" Height="10px" /></td>
                                                <td><asp:ImageButton ID="btnSearch" runat="server" ImageUrl="/images/ico_search.gif" ToolTip="Search" 
                                            onclick="btnSearch_Click" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td class="tdGrid tdCenterM"><asp:TextBox ID="txtMaBill" runat="server" Width="98%" /></td>
                                    <td class="tdGrid tdCenterM"><asp:TextBox ID="txtCuaHang" runat="server" Width="90%" /></td>
                                    <td class="tdGrid tdCenterM">
                                        <table>
                                            <tr>
                                                <td align="right">Fr:</td>
                                                <td><asp:TextBox runat="server" ID="txtfr" Width="110px"></asp:TextBox></td>
                                            </tr>
                                            <tr>
                                                <td>To:</td>
                                                <td><asp:TextBox runat="server" ID="txtto" Width="110px"></asp:TextBox></td>
                                            </tr>
                                        </table>
                                    </td>
                                
                                </tr>--%>
                                <asp:Repeater ID="rpCategory" runat="server">
                                    <ItemTemplate>
                                            <tr style='<%# ThuVien.FunctionsUtils.CSS_RowInTable(Container.ItemIndex,"#FFFFE0","#D7E3F2") %>'>
                                                <td class="tdGrid tdCenterM"><%# Container.ItemIndex + 1 %> </td>
                                        
                                                <td class="tdGrid tdLeftM">
                                                   <%# (Eval("MaSP"))%>
                                                </td>
                                                <td class="tdGrid tdLeftM">
                                                    <%# ThuVien.FunctionsUtils.HTMLEncode(Eval("TenSP"))%>
                                                </td>
                                                <td class="tdGrid tdCenterM">
                                                    <%# Eval("DVT")%>
                                                </td>
                                                <td class="tdGrid tdCenterM">
                                                    <%# ThuVien.FunctionsUtils.ConvertMoneyVND(Eval("SoLuong"))%>
                                                </td>
                                                <td class="tdGrid tdCenterM">
                                                    <%# ThuVien.FunctionsUtils.ConvertMoneyVND(Eval("DonGia"))%>
                                                </td>
                                                <td class="tdGrid tdCenterM">
                                                    <%# ThuVien.FunctionsUtils.ConvertMoneyVND(Eval("CK"))%> %
                                                </td>
                                                <td class="tdGrid tdCenterM">
                                                    <%# ThuVien.FunctionsUtils.ConvertMoneyVND(Eval("ThanhTien"))%>
                                                </td>
                                       
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                                <asp:Literal ID="ltNoRecord" runat="server" Visible="false">
                                    <tr><td colspan="8" class="tdGrid tdCenterM">No Record</td></tr>
                                </asp:Literal>                        
                            </table>

                        </td>
                    </tr>

                </table>
                    
                  

             </div>
           

            <script type="text/javascript">
                function LoadJS() {
                   
                }
         </script>
        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
